<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script src="https://unpkg.com/vue@next"></script>
<div id="app">
    <!-- 如果isButtonDisabeld为null或undefined，则 disabled attribute 不会被包含在渲染出来的button元素中 -->
    <button v-bind:disabled="isButtonDisabled">点我</button>
</div>

<script>
    const vueOpt = {
        data() {
            return {
                isButtonDisabled: true
            }
        }
    }

    Vue.createApp(vueOpt).mount('#app');
</script>
</body>
</html>
